//
//  DetailModel.m
//  UI_19_H
//
//  Created by 男哥逗比 on 16/1/29.
//  Copyright © 2016年 YHY. All rights reserved.
//

#import "DetailModel.h"
#import "ImageModel.h"
@implementation DetailModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
    if ([key isEqualToString:@"images"]) {
        self.imageModel = [[ImageModel alloc] init];
        [self.imageModel setValuesForKeysWithDictionary:value];
    }
    
}

- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}


@end
